
//======================原单计算==================//
/**
 * n1不含税计划金额
 * n2税率
 *
 */
// 税额 = 不含税计划金额（元）*税率%
function uPCountAmountExcludingTax (n1, n2) {
    if (n1 && n1 != 0 && n2 && n2 != 0) {
        console.log(22)
        return Number((n1 * n2) / 100).toFixed(2)
    }
}
// 计算金额
function countAmount (n1, n2) {
    if (n1 != 0 && n2 != 0) {
        return (Number(n1) + Number(n2)).toFixed(2)
    }
}

export {
    uPCountAmountExcludingTax,
    countAmount,

}